//
//  UINavigationController+Ext.h
//  ICEubLib
//
//  Created by wujianrong on 16/4/11.
//  Copyright © 2016年 wanda. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

@interface UINavigationController(IceNavigator)
/**
 *  用push的形式模拟present
 *
 *  @param viewControllerToPresent <#viewControllerToPresent description#>
 */
-(void)ICEPresentViewController:(UIViewController *)viewControllerToPresent;

/**
 *  用push的形式模拟present, 为了方便写代码，添加了animated， 该参数无任何效果
 *
 *  @param viewControllerToPresent <#viewControllerToPresent description#>
 *  @param animated                <#animated description#>
 */
-(void)ICEPresentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)animated;


-(void)ICEDismissViewController;


-(void)ICEDismissToRootViewController;

-(void)ICEDismissToViewController:(UIViewController*)vc;
@end
